FRAMES | NO FRAMES
Schematic Diagram Templates
URL http://<schematicserver-url>/templates
Parent Resource Schematic Service
Child Resources Schematic Diagram Template

Description

The Schematic Diagram Templates represents all the schematic diagram templates related to the published schematic layers under a schematic service. It is returned as an array of Schematic Diagram Template resources by the REST API.

Resource Hierarchy

Layer Name Here

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json

Example Usage

Example 1: The schematic diagram templates under the S1_Schematics public sample Schematics service
http://servicesbeta6.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/templates

Example 2: The schematic diagram templates under the S2_InternalPlants public sample Schematics service
http://servicesbeta6.esri.com/arcgis/rest/services/S2_InternalPlants/MapServer/exts/SchematicsServer/templates

JSON Response Syntax

{

"templates": [
<diagramTemplate1>,
...,
<diagramTemplateN>
]
}

JSON Response Example

{

"templates": [
//The first schematic diagram template, OSP, under the sample schematic service
{
"name" : "OSP",
"id" : 1,
"objectID" : 2896,
"canGenerate" : true,
"builderType" : "Standard Builder",
"algorithms" : [
{
"id" : 0,
"name" : "Bypass Nodes"
},
{
"id" : 2,
"name" : "Geo - Angle Directed",
"parameters" : [
{
"name" : "NumberOfIterations",
"type" : "Long",
"value" : 1
},
{
"name" : "NumberOfDirections",
"type" : "Long",
"value" : 8
}
]
},
{
"id" : 3,
"name" : "Geo - Compression",
"parameters" : [
{
"name" : "Containers",
"type" : "Boolean",
"value" : true
},
{
"name" : "KeepInsideVertices",
"type" : "Boolean",
"value" : true
},
{
"name" : "KeepOutsideVertices",
"type" : "Boolean",
"value" : false
},
{
"name" : "MaximumDistanceForGrouping",
"type" : "Double",
"value" : 0
}
]
},
{
"id" : 4,
"name" : "Geo - Force Directed",
"parameters" : [
{
"name" : "NumberOfIterations",
"type" : "Long",
"value" : 20
},
{
"name" : "RepelFactor",
"type" : "Double",
"value" : 1
},
{
"name" : "DegreeOfFreedom",
"type" : "Long",
"value" : 1
}
]
},
//The second schematic diagram template, ISP_Diagrams, under the sample schematic service
{
"name" : "ISP_Diagrams",
"id" : 1,
"objectID" : 888,
"canGenerate" : true,
"builderType" : "Standard Builder",
"algorithms" : [
...
]
}
] }